﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DBMS.Indexes
{
    public interface IIndex<IT, OT>
    {
        OT Search(ComparableIndex<IT> index);
        bool Insert(ComparableIndex<IT> key, OT record);
        bool Exists(ComparableIndex<IT> index);
        bool Delete(ComparableIndex<IT> index);
    }
}